home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 44
/
Amiga Format CD44 (1999-08-26)(Future Publishing)(GB)(Track 1 of 3)[!][issue 1999-10].iso
/
-in_the_mag-
/
basics
/
amos
/
bestofsd.lha
/
Trip.AMOS
/
Trip.amosSourceCode
Wrap
AMOS Source Code
|
1992-10-20
|
1KB
|
37 lines
' *****************************************************
' * *
' * This AMOS-program was made by Svante Danielsson *
' * *
' * Mail me at: til96sdn@mds.mdh.se *
' * *
' *****************************************************
XSIZE=127
YSIZE=127
STEG=6
Degree
Screen Open 0,320,256,32,Lowres : Flash Off : Curs Off : Hide
Cls 0
Palette 0,$700,$820,$B40,$D80,$FA0,$FD0,$FE0,$FF0,$FF1,$FF2,$FF3,$FE4,$FD5,$FC6,$FB7,$EA8,$D99,$C8A,$B7B,$A6C,$95D,$84E,$73F,$63E,$52C,$42A,$319,$217,$105,$303,$501
Shift Up 3,1,31,1
For Y=0 To YSIZE Step STEG
For X=0 To XSIZE Step STEG
Ink Rnd(30)+1
Bar X,Y To X+STEG-1,Y+STEG-1
Next
Next
For N=0 To 9
For Y=0 To YSIZE+STEG
For X=0 To XSIZE+STEG
P=Point(X,Y)*4+Point(X-1,Y)+Point(X+1,Y)+Point(X-1,Y-1)+Point(X,Y-1)+Point(X+1,Y-1)
O=P/9
If O<1 Then O=1
If O>31 Then O=31
Ink O
Plot X,Y
Next
Next
Next